﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Aplicaciones
{
    public partial class Form1 : Form
    {
        AlgoritmoBinPacking algoritmo;
        public Form1()
        {
            InitializeComponent();
            this.Visible = true;
        }

        private void textBox1_TextChanged(object sender, EventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            algoritmo = new AlgoritmoBinPacking(textBox2);
            algoritmo.BinPacking();
            algoritmo.MostrarSolucion(textBox1);
        }
       
    }

    
}
